home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 1994 October / Macformat17.cdr / Demos / Course Builder / Course Builder Eval. Doc / Course Builder Eval. Doc.rsrc / TEXT_131.txt < prev    next >
Encoding:
Text File  |  1994-06-16  |  29.8 KB  |  620 lines

  1. Linking Course Builder Documents
  2. Before completing this part of your application, you will add two more States;
  3.  
  4. 1) A Bridge State to leave this top level application, run another module (separate Course Document) and;
  5. 2) One more output to display a report at the end of the program.
  6.  
  7. >>    Select a Bridge and Return State from the Flow Tools menu and place it on the Course Map directly to the right of the Stop State.
  8. >>    Connect this State so that you program will flow through it after giving correct feedback leaving Stop disconnected once again.
  9.  
  10.  
  11.  
  12.  
  13.  
  14.  
  15.  
  16.  
  17.  
  18.  
  19.  
  20.  
  21. >>    Double-click on the Bridge State to open its Information Center (Flow States do not contain a View since they are used to direct the program, not to be displayed to the user).
  22.  
  23. You can use Bridge States to transfer the program flow to a another State within the same application, to another Course Document, or even to another Macintosh application.
  24.  
  25. Course Builder has the unique ability to remember the path it takes when going through Bridges. By selecting the option to return, your application will come back to the point at which the Bridge was encountered when the subprogram has finished.
  26.  
  27. >>    Name this State To Part Two and Select the 'Bridge to Course Document' option.
  28. >>    In the 'Bridge to Course Named:' Field, type Part Two.
  29.  
  30.  
  31.  
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41. >>    Select 'OK' to return to the Course Map.
  42.  
  43. Now, when Course Builder encounters this State, it will look on the hard drive for a Course Document named Part Two which we will create in the next section of this tutorial.
  44.  
  45. Bridging provides the ability to break your application into small documents which can be easily changed or replaced as required.  There are several advantages to keeping your applications in a modular fashion:
  46.  
  47. ‚Ä¢    If you have a site-license or multiple copies of Course Builder, your application can be developed by several people simultaneously with each module connected with a Bridge;
  48. ‚Ä¢    you can have a glossary which is accessed by several different programs;
  49. ‚Ä¢    you can keep test segments in their own separate documents so that the questions can be updated without requiring that the rest of the program be altered; and 
  50. ‚Ä¢    this feature makes it possible to create very large programs with relatively little maintenance required.
  51.  
  52. Scoring with Course Builder
  53. Course Builder will track the user's progress through your program and across all linked documents. Standard information including time spent in the program, total score, percent of correct answers, input for each question, number of tries, and time to answer questions are automatically tracked and can be saved in compiled report on the hard drive.
  54.  
  55. >>    To automatically save a report to the hard drive, choose 'Report File‚Ķ' from the Course menu.
  56. >>    Select the 'Course, Group, and Input' option to save the most inclusive report.
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.  
  68. This dialog also gives other options for your course including requiring a password to launch and run the application (passwords are set up in the next report dialog).
  69.  
  70. >>    Select 'OK' to return to the Course Map.
  71. You can develop custom reports with your own information and format in either Text or Graphic Design Outputs which can be set up to automatically print if the machine is connected to an output device.
  72.  
  73. Creating a Custom Report
  74. The final State we will add before closing this segment is an Output which displays a custom report once the user has returned from the second module.
  75.  
  76. >>    Select a Design and Text Output State from the Output tools and place it on the Course Map directly below To Part Two.
  77. >>    Use Routes to connect it into your course between the Bridge and Stop States.
  78. >>    Name this State "Report" and then select 'Next'
  79.  
  80. This dialog contains options specific to Text Output Windows.
  81.  
  82. >>    If your computer is connected to an output device, select the 'Print Text Window' option to print a copy of this custom report.
  83. >>    Also select the following options: 'Text Editable', 'Text Scrollable', and 'Save Text in Report'.
  84.  
  85.  
  86.  
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95. The 'Text Editable' and 'Save Text in Report' options allow you to ask the user essay question or solicit comments which will be saved for review.
  96.  
  97. >>    Select 'OK' to return to the Course Map.
  98.  
  99. Selecting Variables
  100. >>    Open the View of Report and click on the Stopwatch Icon to add a Continue Button for this display.
  101. >>    Choose 'Show Text Window' (Command T) from the Design Menu.
  102. >>    Drag the Title Bar to reposition this window and use the Grow Box in the lower right corner to resize it to your liking.
  103.  
  104. If you click off the Text Window and it disappears (is hidden by the Design Window), just choose 'Show Text Window'  (Command T)  from the Design Menu again.
  105.  
  106. >>    Type the following into the Text Window:
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121. Note that this text information contains variable substitution.  At the points where you wish to display information from variables:
  122.  
  123. >>    Position the cursor at the point you wish to display the variable and hold down the mouse button and press the 'option' key on the keyboard.
  124. >>    Select the variable type you want from the Variable Selection Dialog
  125. >>    Select the appropriate State and Variable for substitution when you are using Output, Input, and Group variables. (When selecting Course Variables, you will not have a list of States).
  126.  
  127. The space at the bottom of this Text Window will be left for any user comments to be saved in the Report File.
  128.  
  129. >>    Choose 'Return to Course Map' (Command M) from the Design Menu when your course is as you like.
  130.  
  131. Now that this section is complete, you'll save it as a stand-alone application, one which you will be able to copy to a floppy disk and distribute to your colleagues (once you have completed Part Two)
  132.  
  133. >>    Choose 'Save As‚Ķ' from the File Menu.
  134.  
  135.  
  136.  
  137.  
  138.  
  139.  
  140.  
  141.  
  142.  
  143.  
  144. >>    This time, select the 'Application' option at the bottom of this dialog.
  145. >>    Select 'Replace' when Course Builder displays a dialog requesting confirmation to save over top of the original Example Application file.
  146. >>    Select 'OK' to return to the Course Map.
  147.  
  148. NOTE: You can always go back into a Course Application by first opening the Course Builder program, choosing 'Open‚Ķ' from the File menu, and selecting your application from the list presented. If your are running System 7, from the Finder, you can click on the application icon and 'drag and drop' it onto the Course Builder program icon. You can also resave an application as a document if you like.
  149.  
  150. >>    Choose 'Quit' (Command Q) from the File menu to exit and close the Course Builder program.
  151. >>    Take a break!!!  You've done some good work here!
  152.  
  153. NOTE: Before you run your application, you need to complete Part Two (to which the top level bridges).
  154.  
  155.  
  156. Creating Part Two
  157.  
  158. This section will introduce Calculator States, Conditional Routing, placing sprites based on user input, and setting up graphics which are draggable by the user.
  159.  
  160. You will show a picture of the Solar System and ask the user to type in the distance between the Sun and the Earth.  You will provide a measuring device which the user can drag about on the display to find out the answer.  You will give the user individual feedback based on the answer given.
  161.  
  162. >>    Open Course Builder and select 'New' from the opening dialog. If the Course Builder program is already open, choose 'New' (Comand N) from the File Menu.
  163. >>    Choose 'Report File‚Ķ' from the Course Menu and select the 'Course, Group, and Input' option so that you report file will include statistics from Part Two.
  164. >>    Place a Start State at the top of the Course Map and name it Start Part Two.
  165. >>    Place a Graphic Design Output Directly below the Start State and name it Solar Overview.
  166. >>    Select 'Hide Menu Bar' from the Design Runtime options.
  167. Now when this section of your program runs, the menu bar will not be visible to the user.
  168. >>    Select 'OK' to return to the Course Map.
  169.  
  170. Overlaying Graphics
  171. >>    Open the View of Solar Overview and import the PICT file titled Background.
  172. >>    Click on the title, byline, and horizontal lines to select them and then choose 'Cut' (Comand X) from the Edit menu.
  173. If you inadvertently cut the entire background just choose 'Undo' (Comand Z) from the Edit menu and try again.
  174. >>    Position the background in the upper left corner of the display.  
  175.  
  176. If necessary, hold down the command key while pressing the spacebar to hide the Design Window tools.
  177.  
  178. Notice that when you have selected to Hide the Menu Bar, that the menu is also hidden when you hide the tools - menu command keys are still active though.
  179.  
  180. >>    Import the PICT file titled Planet labels and position this graphic on top of the background picture to identify the planets.
  181.  
  182.  
  183.  
  184.  
  185.  
  186.  
  187.  
  188.  
  189.  
  190.  
  191.  
  192.  
  193. >>    Select a transition for this display and designate a transition time.
  194. >>    Select the Stopwatch icon to select a 'Click anywhere to continue' synchronization.
  195. >>    Choose 'Return to Course Map' (Comand M) from the Design menu.
  196.  
  197. Setting the Stage
  198. >>    Place another Graphic Design Output State directly below Solar Overview and name this State Measure Distance.
  199. >>    Open the View of Measure Distance and import the PICT file titled 'Measure.Bkgnd'.
  200. >>    Select a 'Rectangular Iris' transition at a 'Normal' speed for this display.
  201.  
  202. As you see, this graphic will give your users instructions for what you expect them to do at this point.  These instructions request the user to drag a ruler to measure distance.  You will create this ruler as a sprite (since it will be moved across an unchanging background).
  203.  
  204. >>    Either click on the 'Animate' button in the lower left of the display or choose 'Show Animation Library (Comand L) from the Design Menu.
  205. >>    Import the PICT titled 'Ruler' into the Animation Library in Sprite Reference #1.
  206. >>    Choose 'Add Sprite' (Comand A) from the Animate menu. 
  207.  
  208. Since the user will be providing the motion (dragging the ruler) you will not designate any additional keyframes of animation for this Output.
  209.  
  210. >>    Click on the sprite to drag it to the lower left of the display.
  211. >>    Choose 'Return to Course Map' (Comand M) from the Animate menu.
  212.  
  213. Setting Sprites to be Draggable
  214. You now need to tell Course Builder that you want the user to be able to move Sprite # 1 in the Output State titled Measure Distance.  You will do this by using a Calculator State to make that particular sprite draggable.
  215.  
  216. ¬†                                                                          >>    Select a Calculator State from the
  217.                                             Function Tools menu and place this
  218.                                             State directly to the right of Solar 
  219.                                             Overview.
  220. >>    Connect your program with Routes as shown in the following picture.
  221.  
  222.  
  223.  
  224.  
  225.  
  226.  
  227.  
  228.  
  229.  
  230.  
  231.  
  232. >>    Save your work as a documented named Part Two.
  233.  
  234.  
  235.  
  236.  
  237.  
  238.  
  239.  
  240.  
  241.  
  242.  
  243. About Calculators
  244. >>    Double-click on the Calculator State to open it.
  245.  
  246. Just like Flow States, Calculator States do not have a separate Information Center and View.
  247.  
  248. >>    Name this Calculator Set Sprite Drag.
  249.  
  250. When you first look at a Calculator, it appear very complicated.  However, this can be one of the most powerful states in Course Builder - you can use this state to add up scores, manipulate the way a display looks based on user input, and even to give partial credit on questions based on the number of times a user has tried to answer it.  As you continue in your courseware development, you will make significant use of the Calculator State.
  251.  
  252. Take just a moment to look it over before using it in your program - it‚Äôs really not all that complex if you break it down.
  253.  
  254.  
  255.  
  256.  
  257.  
  258.  
  259.  
  260.  
  261.  
  262.  
  263.  
  264. As with all states, the first field is for the State Name. Next, there are five radio buttons for Show Calculation. Each Calculator State can hold up to 5 different equations (calculations), these buttons allow you to move between the 5 calculations. For example, to see the third equation, you simply select the radio button to the left of number 3.
  265.  
  266. The next field is where you enter the equation.  On the left of the equal sign you will select a variable from the Variable Selection Dialog.  On the right side of the equal sign you will use the calculator buttons to designate an operation to change the value your selected variable holds.  The variable you select and what you do with it depend entirely on what you want to accomplish.
  267.  
  268. Below the equation field are the buttons which you will press to create the right side equation operations. This row of buttons are the same variables available in the Variable Selection Dialog.
  269.  
  270.  
  271.  
  272.  
  273. The second and third rows are mathematical and trigonomic functions and the logic operator AND.  Unless you are creating and manipulating complex graphic images, you probably will not use the trigonomic functions.  You may have use of some of the other functions like ‚Äòabs(‚Äô - take the absolute value of a number (if the number is negative, it will make it a positive value) or another useful function is ‚Äòint(‚Äô - gives a whole number value if the variable is a fraction.
  274.  
  275.  
  276.  
  277.  
  278.  
  279.  
  280. The fourth row are simply the old familiar arithmetic operators: plus, minus, multiply, divide and an operator which will raise the value by a power (xx). Notice also that you have right and left parenthesis, plus the logic operator OR.
  281.  
  282.  
  283.  
  284.  
  285. Last, but not least are the buttons which allow you to cut, copy and paste, check calculations, Cancel everything or select OK and save changes.
  286.  
  287.  
  288.  
  289.  
  290. You will set up variables in this Calculator which will allow Sprite #1 (in the Animation Library of Measure Distance) to be draggable by the user.
  291.  
  292.  
  293. Working with Variables
  294. >>    Click in the left-hand side of the equation field to bring up the Variable Selection Dialog.
  295.  
  296. Selecting variables for the Calculator is just like selecting them for variable substitution - first select the variable category and then select the specific variable of interest.
  297.  
  298. >>    Select the Output Variables option since the variable you want to affect is a sprite in the Graphic Design Output State, Measure Distance.
  299.  
  300. You are now presented with a list on the left of all the named Output States in your program and the list on the right of all the variables associated with Outputs.
  301.  
  302. Note that most of the variables associated with Output States are referencing sprites (i.e., position, visibility, draggability, pose, etc.) Since there are 32 sprite reference positions in Course Builder, the set of sprite variables is replicated for each sprite reference number.
  303.  
  304. >>    Select the Output State Measure Distance from the list on the left.
  305. >>    Select the Output Variable 'Sprite 1 drag from the list on the right.
  306.  
  307.  
  308.  
  309.  
  310.  
  311.  
  312.  
  313.  
  314.  
  315.  
  316.  
  317.  
  318. >>    Select 'OK' to return to the Calculator and complete your calculation.
  319.  
  320. A Sprite is designated as draggable by setting it equal to a constant; 0-no dragging allowed; 1-draggable in any direction; 2-draggable constrained in a horizontal field; and, 3-draggable constrained in a vertical field.
  321.  
  322. >>    Click on the right side of the equation and then select the 'cons' (constant) button calculator button on the first row of buttons.
  323. >>    Type a '1' in the edit field to make your ruler sprite draggable in any direction.
  324.  
  325.  
  326.  
  327.  
  328.  
  329.  
  330.  
  331.  
  332.  
  333. >>    Select 'OK' to return to the Calculator with your calculation complete.
  334.  
  335.  
  336.  
  337.  
  338.  
  339.  
  340. >>    Good Work! - you've completed your first calculation so select 'OK' to return to the Course Map.
  341. >>    Save!
  342.  
  343. Asking for Input
  344. Anytime you are using draggable sprites you need to follow your Output State with an Input State.  This will hold up the program flow while you allow the user to position the sprite.  The program will continue once it receives the designated type input.
  345.  
  346. Since you are providing the ruler as a tool to measure distance you will ask for numeric keyboard input for the answer.
  347.  
  348. >>    Choose a Numeric Input from the Input Tools menu and place it on the Course Map directly below Measure Distance. Use a Route to connect the two States.
  349. >>    Open the Information Center of this Input and name it Enter Distance.
  350. >>    If you are working on a Macintosh in 256-color mode, you may wish to change the Input Window color by clicking on 'Change Colors'.  Keep in mind that this window will overlay the Solar System picture so a pastel color may be a good choice.
  351.  
  352. >>    Select 'Next' and enter the question: 'Type your answer here. Press the return key when done.'
  353.  
  354. The correct answer is 93 however, you will probably want to give a range which will be judged as a correct response.  For this example we'll accept any number from 90 to 95 as correct.
  355.  
  356. Since there are two exits from this Input State, you have two Numerical Answer fields in which you can designate matching values. Beside each field are comparators which allow you to carefully define matching criteria.
  357.  
  358. >>    Select the '‚â•' comparator to the left of the first field and type 90 as the matching answer.
  359. >>    Select the '‚â§' comparator in the middle of the first field and type 95 in the field to the right.
  360.  
  361.  
  362.  
  363.  
  364.  
  365.  
  366.  
  367.  
  368.  
  369.  
  370.  
  371. Exit one will now be taken if the number typed in is greater than or equal to 90 and less than or equal to 95.
  372.  
  373. You will leave the second answer field blank so that any other answer typed in will take Exit 2.  Since Course Builder allows up to 10 individual Exits, you can get very detailed with your judging using different comparisons for each Exit.
  374.  
  375. >>    Select 'Next' to display the Scoring Dialog for this Input.
  376. >>    Click in the #1 box to designate it as the correct answer.  Assign 10 points if answered correctly.
  377. >>    Select 'OK' to return to the Course Map.
  378. >>    Open the View of this Input State and use the grow box in the lower right to make the dialog as small as possible while still displaying all the words.  Since a return will activate the 'OK' button, drag up to cover it on the dialog.
  379.  
  380. Be careful not to cover over your solar system picture or ruler with this dialog.  If you are working on a 9" monitor, this dialog works best in the lower right corner.
  381.  
  382.  
  383.  
  384.  
  385.  
  386.  
  387. >>    When you have the dialog where you like, press the return key to return to the Course Map.
  388. >>    Save your work!
  389.  
  390. Providing Feedback
  391. Now all you need is to give the user feedback based on the answer given.
  392.  
  393. For feedback to an incorrect response we'll use a Radio Button Input State as a quick and easy way to display feedback that the answer given was not correct.
  394.  
  395. >>    Place a Radio Button Input State below and to the right of Enter Distance.
  396. >>    Open the Information Center of this Radio Button Input and name the State Incorrect Distance.
  397. >>    Change the number of Answer Routes to 1.
  398. >>    Select 'Next' to display the Question Dialog and type the following into the question field: 'No, InputAnswer{Enter Distance} million miles is not a correct answer.  Carefully position the ruler and try again.'
  399.  
  400. Notice that you will be using variable substitution (InputAnswer{Enter Distance}) in this dialog.  You select the variable the same as in Outputs - position your cursor, hold the option key down while clicking the mouse, and select the variable you want to display.
  401.  
  402.  
  403.  
  404.  
  405.  
  406. >>    Select 'Next' to display the Scoring Dialog.
  407. >>    Deselect the 'Report Results' option since you are using this Input as feedback, not a question.
  408.  
  409. By deselecting this option, statistics about this Input State will not be saved for inclusion in the report for this program.
  410.  
  411. >>    Select 'OK' to return to the Course Map.
  412.  
  413. Since Input States overlay the background of the Output State to which they are connected, you will temporarily connect this feedback state directly to Measure Distance to position it for display before connecting it in its proper sequence.
  414.  
  415. >>    Drag a Route from the Exit of Measure Distance to the Entrance of Incorrect Distance.
  416. >>    Open the View of Incorrect Distance to position this dialog where you want it displayed at runtime.
  417. >>    Select 'OK' to return to the Course Map.
  418. >>    Now move this temporary Route from the Exit of Measure Distance to the Exit of Enter Distance.
  419. >>    Drag a Route from the Exit of Incorrect Distance back up to the Entrance of Measure Distance to give your user another try.
  420.  
  421.  
  422.  
  423.  
  424.  
  425.  
  426.  
  427.  
  428.  
  429.  
  430.  
  431.  
  432.  
  433.  
  434.  
  435.  
  436.  
  437.  
  438.  
  439.  
  440. More Feedback!
  441. Now let's set up feedback for a correct response.  In this feedback we will reinforce the answer by demonstrating how the correct answer was found.
  442.  
  443. >>    Place a Graphic Design Output on the Course Map below and to the right of Enter Distance.
  444. >>    Name this State More Feedback and connect it to Exit 1 of Enter Distance.
  445. >>    Select a Normal 'Wipe Top to Bottom' transition for this Output.
  446.  
  447. You will use the same graphic background which is contained in Measure Distance but without the labels.  Course Builder allows you to copy items from one State and place them in the exact same position in another State.  Carefully follow these directions.
  448.  
  449. >>    Open the Output State Measure Distance and click once on the background picture to select it (do not select the labels which are a separate grouped item in this graphic).
  450. >>    Choose 'Copy' (Comand C) from the Edit menu to copy the graphic to the clipboard and then choose 'Return to Course Map' (Comand M) from the Design menu.
  451. >>    Open your new Graphic Design Output More Feedback and before clicking the mouse anywhere else, choose 'Paste' (Comand V) from the Edit menu.
  452.  
  453. This has pasted a copy of your background picture in the same location on the following screen so when your program runs, the display will not 'jump'.
  454.  
  455. You could have done the same thing by duplicating the Output State and then removing the parts you did not want (including the graphic in the Animation Library).
  456.  
  457. >>    Import the PICT file titled 'Dist.Feedback' and carefully position this graphic on top of your background.
  458. >>    Click on the Stopwatch icon in the bottom toolbar to select a 'Click Anywhere to Continue' Synchronization.
  459. >>    Choose 'Return to Course Map' (Comand M) from the Design menu.
  460.  
  461. Finishing it up.
  462. Notice that the graphic in More Feedback instructs the user to 'Click anywhere to see a report of your progress.' Remember that you used a Bridge and Return State in the top level application to come out and run Part Two.
  463.  
  464. When program flow encounters a Stop State, Course Builder knows that it is time to return to the application which initiated the Bridge.
  465.  
  466. >>    Place a Stop State on the Course Map directly below More Feedback and connect the two States with a Route.
  467. >>    Save your work!
  468.  
  469. Giving the User a way out!
  470. When asking questions which require a specific answer or range of answers, you want to try to anticipate the user who for some reason just can't get the correct answer.
  471.  
  472. In this example, we will use a Conditional Route which checks to see how many times the user has attempted the question. If the user has tried more than two times, we will route the course to a screen which shows the solution.
  473.  
  474. We already have a State which does something similar - our More Feedback State.  We just need to change the response from 'Good Job!' to something more appropriate.
  475.  
  476. Using Sprite Poses
  477. You can let this single State do double duty by using sprites to give the response.  Based on the conditions set up in your course you will either display a sprite saying 'Good Job', or one saying 'Sorry, after 2 tries you didn't answer correctly'
  478.  
  479. You will use a Calculator State to change the sprites and a Conditional Route to tell the program when you want them changed.
  480.  
  481. >>    Place a Calculator State on the Course Map directly to the right of More Feedback.
  482. >>    Drag a 2nd Route from Exit 2 of Enter Distance to the Entrance of this Calculator and a Route from its Exit to the Entrance of More Feedback.
  483.  
  484.  
  485.  
  486.  
  487.  
  488.  
  489.  
  490.  
  491. Setting up Conditional Routes
  492. When you have two Routes leading from a single Exit node, Course Builder will make a random selection of which Route to take. By making one of the Routes 'Conditional' Course Builder will recognize that it must make decisions of the direction based on the contents of the Route.
  493.  
  494. >>    Double-click on the body of the Route leading to the Entrance of the Calculator State.
  495.  
  496. This brings up a dialog which allows you to set up conditions which must be met before your program's flow will follow the Route.
  497.  
  498.  
  499.  
  500. The information at the top of this dialog lets you know which States this Route connects. (Note that we have not yet named the Calculator State so it is shown as 'Untitled').
  501.  
  502. In the fields below this information is where you will select variables for comparison.  The field between the variable fields is where you select the Relational Operator.
  503.  
  504. Relational Operators are used to compare (test) the variable on the left side to the variable or constant on the right side of the operator (i.e., is Variable A = Variable B or, is Variable A is greater than Variable B).  The result is either TRUE (condition has been met - take this Route) or FALSE (do not take this Route).
  505. The condition you will look at is to see how many times the user has attempted to answer the question. So, you will first select the variable that holds the information you want to compare.
  506.  
  507. >>    Click in the left side of the first condition field.
  508.  
  509. This Variable Selection Dialog must look pretty familiar to you by now!
  510.  
  511. >>    Since the variable you are interested in is associated with Inputs, select 'Input' as the Variable type.
  512. >>    Select the Input State titled 'Enter Distance' and select the variable 'input loops through' which tells how many times the dialog has been displayed.
  513.  
  514.  
  515.  
  516.  
  517.  
  518.  
  519.  
  520.  
  521.  
  522.  
  523.  
  524. >>    Select 'OK' to return to the Condition Dialog which has been updated with your selection.
  525. >>    Click in the right side of this first condition field to set up your comparison.
  526. >>    Since you are looking for the number of 'loops through' to be greater than 2, select the 'Constant' option and type in '2'.
  527. >>    Now select the Relational Operator between the two fields of '>' (greater than).
  528.  
  529.  
  530.  
  531. Course Builder will read this condition as: "If the user has gone through Enter Distance more than two times, take this Route."
  532. While this example will check only one condition, each Conditional Route can evaluate up to five individual comparisons.  You can use the 'If/Then Connector' to set up sophisticated logic for testing.
  533. By clicking on a circle, you can drag down to connect two conditions so that both must be TRUE before Course Builder takes the Route.
  534.  
  535. >>    Select 'OK' to return to the Course Map.
  536.  
  537. Notice now that your Route is no longer solid black which indicates it is conditional. (Conditional Routes appear red when viewed in 256-colors).
  538.  
  539. Setting up Sprite poses.
  540. >>    Open the View of More Feedback.
  541. We will make only the part of this display which changes a sprite.
  542. >>    Click on the 'Good Job!' paragraph to select it.
  543. >>    Choose 'Cut' (Comand X) from the Edit menu to remove this information from the Design Window.
  544. >>    Go to the Animation Library for this State and choose 'Paste' (Comand V) from the Edit menu to place your words in the first pose of Sprite reference #1.
  545. >>    Choose 'Add Sprite' (Comand A) from the Animate menu and position the sprite on the display.
  546. >>    Click on the letter 'B' at the bottom of the Animation Library window and choose 'Paste' (Comand V) again.
  547.  
  548. This places the same paragraph in Pose B of Sprite reference #1.  You will change the words in Pose B to read what you will tell your users if they give an incorrect answer more than 2 times.
  549.  
  550. >>    Use the Text tool to change Pose B to read: "No, I'm sorry, that is still not correct.  You use the ruler to see that the sun is 93 million miles (105 million km) away from the Earth."
  551.  
  552.  
  553.  
  554.  
  555.  
  556.  
  557.  
  558.  
  559.  
  560.  
  561. Since your 'movement' in this animation will come from a Calculator (changing the Pose based on following your Conditional Route), you will not add any additional frames of animation.
  562.  
  563. >>    Return to the Course Map
  564.  
  565. Change the Pose with a Calculator
  566. >>    Open the Calculator State and name it Tries >2.
  567. >>    Click on the left side of the Equation field to select the variable you want to affect with this Calculator.
  568. >>    Since you are changing the pose of a sprite, select an 'Output' variable type.
  569. >>    Select the Output State 'More Feedback' from the list on the left and the variable 'sprite 1 pose' from the list of Output Variables.
  570. >>    Select 'OK' to return to complete this equation.
  571. >>    Click on the right side of the equation field and select the 'CONS' button from the top row.
  572.  
  573. Each sprite can have up to 16 different poses (A-P). Since the calculator uses number instead of letters, each pose is referenced by a numerical value, pose A=1, pose B=2, ‚Ķ pose P=16.
  574.  
  575. >>    Since you want to display pose B if the program goes through this calculator, type 2 in the Constant field.
  576. >>    Select 'OK' to return to the Calculation Dialog and 'OK' again to return to the Course Map.
  577. >>    Once again - Save your work!
  578.  
  579. Testing your program
  580. You are now ready to try out your development! Choose 'Run' (Comand R) from the Course menu. Congratulations! You've completed Part Two of this tutorial and are ready to try running your program as a stand-alone application.
  581.  
  582. >>    Choose 'Quit' (Comand Q) from the File menu to exit Course Builder's authoring environment.
  583. >>    Make sure that both Example Application and Part Two are within the same folder on the desktop.
  584.  
  585.  
  586.  
  587.  
  588.  
  589.  
  590.  
  591.  
  592.  
  593.  
  594.  
  595.  
  596.  
  597. Notice that the icon for a Course Document is different than for an application. This means that this file either requires Course Builder to be opened or to be bridged to from another Course Builder application.
  598.  
  599. >>    Double-click the 'Example Application' icon
  600.  
  601. This time you do not see the Course Builder's development tools, only the good work you did to put this course together.
  602.  
  603. Note that Course Builder seamlessly transitioned into Part Two and when part two completed, returned to display your report.
  604. When your program is complete, look in the top level folder on the Macintosh desktop to find the report that was generated by your program. (Course Builder supports several options for naming reports as well as designating folders for automatic placement).
  605.  
  606. ¬†                                        You can use the Report Reader included with this 
  607.                                             Evaluation package to open the report.
  608.  
  609.  
  610.  
  611. Well Done!!!!
  612.  
  613. You have now completed your program and have learned quite a bit about developing stand-alone Course Builder applications.
  614. You may now put this program (or one of your own) on floppy-disk to impress your friends and amaze your colleagues! When you are distributing Course Builder applications, make sure you include all the files required for running them - in this case Part Two and CBS Sounds.
  615.  
  616.  
  617. Feel free to contact us should you have any questions, comments, or need additional information.
  618.  
  619. We look forward to working with you as you develop applications which span the capabilities of this powerful authoring system.
  620.